
function Register(){

    function change(){
        console.log( 'change' );
    }

    return (
        <div className="form-container">
            <div className="form-item">
                <label htmlFor="account">账号</label>
                <input type="text" name="account" id="account" readOnly />
            </div>
            <div className="form-item">
                <span>性别</span>
                <span>
                    <input type="radio" name="gender" value="male" id="gender-male" />
                    <label htmlFor="gender-male">靓仔</label>
                    <input type="radio" name="gender" value="female" id="gender-female" checked onChange={change} />
                    <label htmlFor="gender-female">靓妹</label>
                </span>
            </div>
            <div className="form-item">
                <span>籍贯</span>
                <span>
                    <select name="hometown">
                        <option value='jiandong'>江东</option>
                        <option value='jiannan' defaultValue='jiangnan' selected>江南</option>
                        <option value='jianbei'>江北</option>
                    </select>
                </span>
            </div>
        </div>
    );
}

export default Register ;